// 该文件负责注册全局组件

import PageTools from './PageTools/index'
import UploadExcel from './UploadExcel'
import ImageUpload from './ImageUpload'
import ThemePicker from './ThemePicker'
import Language from './lang'
import TagsView from './TagsView'

export default {
  install (Vue) {
    //  注册全局的通用栏组件对象
    Vue.component('PageTools', PageTools) // 注册工具栏组件
    Vue.component('UploadExcel', UploadExcel) // 注册导入excel组件
    Vue.component('ImageUpload', ImageUpload) // 注册头像编辑组件
    Vue.component('ThemePicker', ThemePicker) // 主题颜色切换
    Vue.component('Language', Language) // 语言切换
    Vue.component('TagsView', TagsView) // 多页标签
  }
}
